#include "mainwindow.h"
#include "config.h"

#include <QtGui/QApplication>

class AutoInstance
{
public:
    //AutoInstance() { };
    ~AutoInstance()
    {
        verema::Config::destroy();
    }
};

int main(int argc, char* argv[])
{
	AutoInstance ai;

	QApplication app(argc, argv);

	verema::MainWindow mainwindow;
    mainwindow.show();

	return(app.exec());
}
